import request from '@/util/request'
import baseUrl from './base'

export function insertOtaSoftware(data) {
  return request({
    url: baseUrl + '/ota/software/insert',
    method: 'post',
    data
  })
}
export function updateOtaSoftware(data) {
  return request({
    url: baseUrl + '/ota/software/update',
    method: 'post',
    data
  })
}

export function deleteOtaSoftware(data) {
  return request({
    url: baseUrl + '/ota/software/delete',
    method: 'post',
    data
  })
}
export function listOtaSoftware(data) {
  return request({
    url: baseUrl + '/ota/software/list',
    method: 'post',
    data
  })
}

